package com.jiawa.wiki.service;

import com.jiawa.wiki.domain.Doc;
import com.jiawa.wiki.req.DocQueryReq;
import com.jiawa.wiki.req.DocSaveReq;
import com.jiawa.wiki.resp.DocQueryResp;
import com.jiawa.wiki.resp.PageResp;

import java.util.List;

public interface DocService extends CommonService<Doc> {
     List<Doc> list(String name);
    //public List<DocResp> list(DocReq req);
     PageResp<DocQueryResp> list(DocQueryReq req);

    void save(DocSaveReq req);

    List<DocQueryResp> all();
}
